package com.demo.waimai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单详情表
 * </p>
 *
 * @author Helen
 * @since 2020-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderDetail对象", description="订单详情表")
public class OrderDetail implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "用户名")
    private String userUsername;

    @ApiModelProperty(value = "用户联系电话")
    private String userMobile;

    @ApiModelProperty(value = "用户地址ID")
    private Integer userAddressId;

    @ApiModelProperty(value = "用户详细地址")
    private String userAddress;

    @ApiModelProperty(value = "用户地址-经度")
    private String userLongitude;

    @ApiModelProperty(value = "用户地址-纬度")
    private String userLatitude;

    @ApiModelProperty(value = "商铺名字")
    private String shopShopname;

    @ApiModelProperty(value = "商铺联系电话")
    private String shopMobile;

    @ApiModelProperty(value = "商铺详细地址")
    private String shopAddress;

    @ApiModelProperty(value = "商铺地址-经度")
    private String shopLongitude;

    @ApiModelProperty(value = "商铺地址-纬度")
    private String shopLatitude;

    @ApiModelProperty(value = "送餐员ID")
    private Integer deliverId;

    @ApiModelProperty(value = "送餐员姓名")
    private String deliverName;

    @ApiModelProperty(value = "送餐员联系电话")
    private String deliverMobile;


}
